{% extends "admin/base.html" %}
{% load i18n %}
{% load static %}
{% block title %}{{ title }}{% endblock %}

{% block extrastyle %}
    <script type="text/javascript" src="{% static 'js/jquery-1.11.3.js' %}"></script>
    <script type="text/javascript" src="{% static 'js/operation.js' %}"></script>
    <link rel="stylesheet" href="{% static 'css/opration.css' %}">
    <link rel="stylesheet" href="{% static 'css/table_style.css' %}" />
    {% block thirdstyle %}
    {% endblock %}
{% endblock %}

{% block branding %}
<h1 id="site-name">{% trans '全风工具服务集' %}</h1>
{% endblock %}
{% block userlinks %}
    {% if user.has_usable_password %}
        <a href="{% url 'admin:password_change' %}">{% translate 'Change password' %}</a>
        {% block logout_Operate %}
        <a href="{% url 'logout' %}">注销</a>
        {% endblock %}
    {% else %}
        <a href="{% url 'login' %}">登录</a>
    {% endif %}
{% endblock %}

<!-- 第一行改造完成 -->
{% block breadcrumbs %}
    <div id="top21" class="breadcrumbs">
        {% for unit in urlList %}
            <div class="a_link"><a href="{{ unit.url_name }}" >{{ unit.menu_name }}</a></div>
        {% endfor %}
    </div>
{% endblock %}


<!-- 内容 -->
{% block content_title %}{% endblock %}
{% block messages %}
{% endblock %}


{% block coltype %}
{% endblock %}

{% block content %}
{% block main_body %}
    <div id="main_body">
        <div id="table_main" style="height:100%">
            <table id="table1" class="table_view"> <!-- Replace "table-1" with any of the design numbers -->
                <thead>
                    <tr style="">
                        <th style="width:20%;">导航菜单</th>
                        <th>简介说明</th>
                        <th style="width:30%;">其他信息</th>
                    </tr>
                </thead>
                <tbody style="height: 730px;overflow-y: hidden;overflow-x: hidden">
                    {% for unit in menuList %}
                        <tr>
                            <td style="width:15%;text-align:left;"><li class="index_li"><a href="{{ unit.url_name }}">{{ unit.menu_name }}</a></li></td>
                            <td style="width:50%;text-align:left;">
                                {% for sec in unit.funList %}
                                    <p style="margin-left:10px">{{ sec }}</p>
                                {% endfor %}
                            </td>
                            <td style="text-align:left;">
                                {% for third in unit.remarkList %}
                                    <p style="margin-left:10px">{{ third }}</p>
                                {% endfor %}
                            </td>
                        </tr>
                    {% endfor %}
                </tbody>
            </table>
        </div>
    </div>
{% endblock %}
{% endblock %}

{% block nav-global %}

{% endblock %}
